local mylib = require "mylib"
local test = require "test"
require "student"
require "btest"

a = 111
str = "I am so cool"
tbl = {name="shn", id=20180710};

function add(a, b)
	error("error test")
	print(a,b)
	return a+b
end

mylib.testa(100)

local t = test.test();
t:TestSetA(100)
print(t:TestGetA())

print(test_bridage)
test_bridage.static_data = 12

test_bridage.sshow()
local bt = test_bridage()
bt.test_str = "testbridage"
print(bt.test_str)
bt:test(10, 20)


bt.name = "new name"
print("name "..bt.name)

print("child test")
local t_child = btest_child("test_string")
print("child string: "..t_child.test_child_string)

child = btest_child("hello")
child:virtual()

local c = GetInstance()
c:test(100, 100)

print("roleid= "..roleid)
print(type(roleid))
--print("roleid= "..str(roleidnew))

local luaid = (1 << 62)
print(type(luaid))
print(luaid)

st = Student()


st:Run()
st:Run(100)
local tmp = 1 << 61
print(tmp)
st:Run64(tmp)
--st:delete()

Student:StaticRun()

--st = nil



collectgarbage()
